class Person:
    def __init__(self,name,age,height):
        self.name = name
        self.age = age
        self.height = height

    def run(self):
        print("%s,今年%d岁，身高%d， 每天早上 跑 完步，会去 吃 东西 " % (self.name,self.age,self.height))

    def eat(self):
        print("%s,今年%d岁，身高%d 小美不跑步，小美喜欢 吃 东西" % (self.name,self.age,self.height))

xiaoming = Person('小明',18,175)
xiaomei = Person('小美',17,165)

xiaoming.run()
xiaomei.eat()



class Dog:
    def __init__(self,name,color):
        self.name = name
        self.color = color
    def __str__(self):
        return"我叫%s,我的毛是%s的" % (self.name,self.color)
    def shout(self):
        print("我叫%s,我的毛是%s的 陌生人来了汪汪叫" % (self.name,self.color))
    def shake(self):
        print("我叫%s,我的毛是%s的 主人回家了摇尾巴" % (self.name,self.color))
yellow = Dog('大黄','黄颜色')
yellow.shake()
yellow.shout()